﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tasker.Infrastructure.Entities;
using Tasker.Infrastructure.Repositories.Base;

namespace Tasker.Infrastructure.Repositories
{
    public interface ITasksRepository: ICrudRepository<ITask>
    {
        ITask SelectByUserTime(int userId, DateTime CreatedDate);
        IEnumerable<ITask> SelectByUserIncoming(int userId);
        IEnumerable<ITask> SelectByUserOutcoming(int userId);

        IEnumerable<ITask> SelectSubTasks(int taskId);
    }
}
